package com.smart.mip.system.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.smart.mip.system.entity.UserInfo;

/**
 * UserInfo  Service.
 * create by scaffold 2017-07-18 
 * @author codefan@sina.com
 * 系统用户信息null   
*/

public interface UserInfoRepository extends JpaRepository<UserInfo,java.lang.String> 
{


	UserInfo findUserInfoByLoginName(String loginName);
	
	Page<UserInfo> findAllByUserCode(Pageable pageable);
	
}
